package com.andnnl.reactor;

/**
 * Created by chenss on 2021/5/20.
 */

/**
 * @Author: feiweiwei
 * @Description: 输入对象，reactor模式中处理的原始输入对象
 * @Created Date: 10:50 17/10/12.
 * @Modify by:
 */

public class InputSource {
    private Object data;

    private long id;

    public InputSource(Object data, long id) {
        this.data = data;

        this.id = id;

    }

    @Override

    public String toString() {
        return "InputSource{" +

                "data=" + data +

                ", id=" + id +

                '}';

    }

}
